$-th-bg: #f4f7fe;
.el-table {
  font-size: var(--theme-font-size);
  border-radius: var(--theme-border-radius) var(--theme-border-radius) 0 0;
  &::before {
    background-color: transparent;
  }
  .el-table__fixed-right,
  .el-table__fixed-left {
    &::before {
      background-color: transparent;
    }
  }
  .cell {
    line-height: 24px;
  }
  &.small {
    .el-table__cell {
      padding: 3px 0;
    }
  }
  .el-table__cell {
    padding: 8px 0;
  }
  th {
    &.el-table__cell {
      background-color: $-th-bg;
      &.is-leaf {
        border-bottom: none;
      }
      > .cell {
        padding: 0 16px;
        font-weight: 500;
        color: var(--theme-color-text-secondary);
      }
    }
  }

  td {
    &.el-table__cell {
      > .cell {
        padding-left: 16px;
      }
      color: var(--theme-color-text-primary);
      border-color: var(--theme-color-border-split);
      .text-secondary {
        color: var(--theme-color-text-regular);
      }
    }
  }
  .el-table__row {
    &.hover-row {
      td {
        &.el-table__cell {
          background-color: #f8f8f8;
        }
      }
    }
  }
  .el-table-column--selection {
    &.el-table__cell {
      .cell {
        padding: 0 16px;
      }
    }
  }
  .link-item {
    cursor: pointer;
    &:hover {
      color: var(--theme-color-primary);
      text-decoration: underline;
    }
  }
  .el-table__fixed-right-patch {
    background-color: $-th-bg;
  }
}
@media screen and (max-width: 1600px) {
  .el-table {
    .el-table__cell {
      padding: 5px 0;
    }
  }
}
